# $Id: PKGBUILD 56391 2011-10-07 09:45:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-cgi-session
pkgver=4.48
pkgrel=1
pkgdesc="Perl/CPAN Module CGI::Session : Session management in CGI  applications"
arch=(any)
url="http://search.cpan.org/dist/CGI-Session/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz")
md5sums=('7f8983aaeb92a0ba77eca8bca6d8d43a')

build() {
  cd $srcdir/CGI-Session-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
